package com.hollycrm.hollysqm;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;



/**
 * 主启动类
 * 与WebApplication相同
 * @SpringBootApplication 注解的程序入口类已经包含@Configuration，不含@ServletComponentScan
 * @EnableScheduling 用于启动定时服务，必需得加
 * @author admin
 *
 */

//@EnableScheduling
//@ComponentScan("com.hollycrm.hollysqm")
//@PropertySource("classpath:configure.properties")
//@SpringBootApplication
//@EnableScheduling // 启用定时任务
public class StartApplication {
	private static final Logger log = LoggerFactory.getLogger(StartApplication.class);		
	
	public static void main(String[] args) {
		log.info("启动服务中...");		
//		SpringApplication.run(StartApplication.class, args);	
		log.info("服务已启动...");
		
//		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(IndexSearchDaoImpl.class);		
//		IndexSearchDaoImpl indexSearchDaoImpl = context.getBean(IndexSearchDaoImpl.class);
//		context.close();
	}	
	
}
